package com.itheima.account.service.impl;

import com.itheima.account.service.IAccountService;

public class MyService5 implements IAccountService {
    private boolean destroyed = false;

    public boolean isDestroyed() {
        return destroyed;
    }

    public void destory() {
        destroyed = true;
        System.out.println("销毁执行");
    }

    @Override
    public void saveAccount() {

    }
}
